package by.yakusekmaxim.bookgid.dataaccess.util;

import java.io.Serializable;

import javax.persistence.metamodel.SingularAttribute;

import by.yakusekmaxim.bookgid.datamodel.Book;

public class BookFilter implements Serializable{
	
	private SingularAttribute<Book, ?> attribute;
	
	private Object value;
	
	private Boolean enabled;

	public Boolean getEnabled() {
		return enabled;
	}


	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}


	public SingularAttribute<Book, ?> getAttribute() {
		return attribute;
	}


	public void setAttribute(SingularAttribute<Book, ?> attribute) {
		this.attribute = attribute;
	}

	public Object getValue() {
		return value;
	}

	public void setValue(Object value) {
		this.value = value;
	}
}
